<template>
  <div class='not-found-container'>
    <div class='not-found-container_content'>
      <div class='not-found-container_content-title'>404</div>
      <div class='not-found-container_content-text'>抱歉，你访问的页面不存在</div>

      <div class='not-found-container_content-tip'>
        <a href='javascript:history.go(-1)'>返回上一页</a>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NotFoundView'
}
</script>

<style lang='less' scoped>
.not-found-container {
  width: 100vw;
  height: 100vh;
  background-color: #141726;
  display: flex;
  justify-content: center;
  align-items: center;

  .not-found-container_content {
    width: 400px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .not-found-container_content-title {
      font-size: 100px;
      color: #1890ff;
    }

    .not-found-container_content-text {
      font-size: 20px;
      color: #919191;
      // 鼠标悬停
      &:hover {
        color: #73bbff;
      }
    }

    .not-found-container_content-tip {
      margin-top: 20px;

      a {
        color: #1890ff;
        // 下划线隐藏
        text-decoration: none;

        &:hover {
          color: #4ea4ff;
        }
      }
    }
  }
}
</style>
